package com.bootdo.hjh.dao;

import com.bootdo.hjh.domain.PointTypeDO;
import com.bootdo.hjh.domain.PointTypeDOExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface PointTypeDOMapper {
    int countByExample(PointTypeDOExample example);

    int deleteByExample(PointTypeDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PointTypeDO record);

    int insertSelective(PointTypeDO record);

    List<PointTypeDO> selectByExampleWithRowbounds(PointTypeDOExample example, RowBounds rowBounds);

    List<PointTypeDO> selectByExample(PointTypeDOExample example);

    PointTypeDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PointTypeDO record, @Param("example") PointTypeDOExample example);

    int updateByExample(@Param("record") PointTypeDO record, @Param("example") PointTypeDOExample example);

    int updateByPrimaryKeySelective(PointTypeDO record);

    int updateByPrimaryKey(PointTypeDO record);

    Long sumByExample(PointTypeDOExample example);

    void batchInsert(@Param("items") List<PointTypeDO> items);
}